<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改就业信息 - ${bean.student.name }</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
<link rel="stylesheet"
	href="static/css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet" href="static/css/bootstrap-table.min.css">
<script type="text/javascript" src="static/js/bootstrap-table.min.js"></script>
<script type="text/javascript"
	src="static/js/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript"
	src="static/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript"
	src="static/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="static/js/employment/add.js"></script>
</head>
<body>
	<div class="default-theme container-fluid iframe">
		<div class="col-md-8">
			<form id="employmentForm" class="form-horizontal" action=""
				method="post">
				<c:if test="${fn:length(bean.imagePath)!=0 }">
					<div class="form-group">
						<img src="${bean.imagePath }" alt="${bean.student.name }"
							class="img-responsive center-block" width="304" height="236" />
					</div>
				</c:if>
				<div class="form-group">
					<label for="student.id" class="col-sm-2 control-label"><i
						class="text-danger">*</i> 学生</label>
					<div class="col-sm-10">
						<input type="hidden" name="student.id" id="studentId"
							readonly="readonly" value="${bean.student.id }" /> <input
							type="text" class="form-control" readonly="readonly"
							name="studentName" id="studentName" placeholder="点击选择学生"
							value="${bean.student.name }">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label"><i
						class="text-danger">*</i>就业老师</label>
					<div class="col-sm-10">
						<input type="hidden" name="teacher.id" value="${bean.teacher.id}" />
						<input type="text" class="form-control" readonly="readonly"
							name="teacher.name" id="teacherName" placeholder="点击选择就业老师"
							value="${bean.teacher.name }" />
					</div>
				</div>
				<div class="form-group">
					<label for="employmentDate" class="col-sm-2 control-label">就业时间</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="employmentDate"
							readonly="readonly" placeholder="点击选择就业时间,不选则选取当前时间"
							value="<fmt:formatDate value='${bean.employmentDate }' pattern='yyyy-MM-dd' />" />
					</div>
				</div>
				<div class="form-group">
					<label for="companyName" class="col-sm-2 control-label"><i
						class="text-danger">*</i>公司名称</label>
					<div class="col-sm-10">
						<input type="text" name="companyName" class="form-control"
							placeholder="请输入" value="${bean.companyName }"
							readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="job" class="col-sm-2 control-label"><i
						class="text-danger">*</i>工作职位</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="job"
							placeholder="请输入" value="${bean.job }" readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="employmentCity" class="col-sm-2 control-label"><i
						class="text-danger">*</i>就业城市</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name=employmentCity
							placeholder="请输入" value="${bean.employmentCity }"
							readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="employmentType.value" class="col-sm-2 control-label"><i
						class="text-danger">*</i>就业方式</label>
					<div class="col-sm-10">
						<input type="text" class="form-control"
							value="${bean.employmentType.name }" readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="referNum" class="col-sm-2 control-label"><i
						class="text-danger">*</i>推荐次数</label>
					<div class="col-sm-10">
						<input type="number" class="form-control" value="1"
							name="referNum" placeholder="默认为1" value="${bean.referNum }"
							readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="companyType.value" class="col-sm-2 control-label">所属行业</label>
					<div class="col-sm-10">
						<input type="text" name="" value="${bean.companyType.name }"
							readonly="readonly" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label for="companyScale.value" class="col-sm-2 control-label">公司规模</label>
					<div class="col-sm-10">
						<input type="text" name="" value="${bean.companyScale.name }"
							readonly="readonly" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label for="isCorrespond" class="col-sm-2 control-label"><i
						class="text-danger">*</i>是否对口</label>
					<div class="col-sm-10">
						<input type="text" readonly="readonly" class="form-control"
							value="<c:choose><c:when test='${bean.isCorrespond eq "0" }'>否</c:when><c:when test='${bean.isCorrespond eq "1" }'>是</c:when></c:choose>" />
					</div>
				</div>
				<div class="form-group">
					<label for="salary" class="col-sm-2 control-label"><i
						class="text-danger">*</i>薪资</label>
					<div class="col-sm-10">
						<input type="number" name="salary" step="0.01"
							class="form-control" placeholder="薪资" value="${bean.salary }"
							readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="ext3" class="col-sm-2 control-label"><i
						class="text-danger">*</i>薪资福利</label>
					<div class="col-sm-10">
						<textarea name="ext3" rows="2" cols="" class="form-control"
							placeholder="薪资福利" value="" readonly="readonly">${bean.ext3 }</textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="ext1" class="col-sm-2 control-label">其他补贴</label>
					<div class="col-sm-10">
						<input type="text" name="ext1" class="form-control"
							placeholder="其他补贴" value="${bean.ext1 }" readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="ext2" class="col-sm-2 control-label">综合薪资</label>
					<div class="col-sm-10">
						<input type="text" name="ext2" class="form-control"
							placeholder="综合薪资" value="${bean.ext2 }" readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="remarks" class="col-sm-2 control-label">备注</label>
					<div class="col-sm-10">
						<textarea name="remarks" rows="2" cols="" class="form-control"
							placeholder="备注信息" value="" readonly="reaonly">${bean.remarks }</textarea>
					</div>
				</div>


				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<!-- <a class="btn btn-default" href="javascript:history.back()">返回</a> -->
					</div>
				</div>
			</form>
		</div>

	</div>
</body>
</html>